home *** CD-ROM | disk | FTP | other *** search
- > > Use the same technique I said except use Text Length(T$) to get the
- > > width in pixels of the text.
- > > Remember that if the font has height H and you do Text X,Y,A$
- > > Then the top left of the text is at X,Y-H and the bottom right is at
- > > X+Text Length(A$),Y.
- > > Just set a zone to these coords.
- >
- > NO !! The UL-corner of text is NOT in Y-H, it's in Y-Text Base...
- > eg. for topaz-8 (standard) the height is 8, but the text base is 7..
-
- OK. Sorry. I forgot about the curly bits on letters like y right?
- Then instead you should have:
- X, Y-H+1 to X+Text Length(A$),Y+1
-
- Sound right?
-
- -Murray
-
- --
-
- Alastair \\|// malcolm.murray@virgin.net
- Murray (o o) http://freespace.virgin.net/malcolm.murray
- |~~~~~~oOOo~(_)~oOOo~~~~|~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~|
- | ---===ON AMINET===--- |dev/misc/Backbone | --==IN PRODUCTION==-- |
- | game/shoot/Hanger18 |game/shoot/Traitor| The Turtleminator |
- |game/jump/BananaIslands| game/role/CHAOS | Hangar 18 II |
- | game/shoot/Extinct | game/jump/Blobby | Backbone - Game Creator|
- | dev/amos/KeyState | dev/amos/PicPack |Star Trek - BORG Assault|
- | pix/nicon/TrekNIcons | game/shoot/XII | |
- | game/shoot/KillEmAll | | |
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Man shall never reach the moon, for such a quantity of gunpowder would
- be needed as to gravely injure the crew - Children's Encyclopedia 1926
-
-
-